package Test;

import java.util.Scanner;

public class Test01 {
    public static void main(String[] args) {

        Scanner s = new Scanner(System.in);
        System.out.println("请输入成绩：0~100");
        int num =s.nextInt();

        if(num>=90){
            System.out.println("优秀");
        }else if(num >=75){
            System.out.println("良好");
        }else if(num >=60){
            System.out.println("及格");
        }else{
            System.out.println("不及格");
        }


        switch(num/10){
            case 10:
            case 9:
                System.out.println("优秀");
                break;
            case 8:
            case 7:
                if(num>=75){
                    System.out.println("良好");
                }else{
                    System.out.println("及格");
                }
                break;
            case 6:
                System.out.println("及格");
                break;
            default:
                System.out.println("不及格");
        }

    }
}
